package cn.calm.user.service;

import java.util.List;

import cn.calm.commons.service.IBaseService;
import cn.calm.entity.Application;
import cn.calm.entity.Menu;
import cn.calm.entity.User;
import cn.calm.entity.UserMenuApplication;

public interface IUserMenuApplicationService<T extends UserMenuApplication>
		extends IBaseService<T> {

	List<T> listByUserIdAndParent(String id, UserMenuApplication id2);

	List<T> listAllMenuByUserId(String id);

	public void setMenuService(IMenuService<Menu> menuService);

	public void setUserService(IUserService<User> userService);

	public void setApplicationService(
			IBaseService<Application> applicationService);
}
